
package com.xinzhi.mapper;

import com.xinzhi.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

//@Mapper
public interface UserMapper {
    //查询用户
    User getUser(@Param("account") String account,@Param("password") String password);

    //添加用户
    int adduser(User user);


    //查询账号
    User selectAccount(String account);
}